home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presentation Library 1993 Winter / The Apple Reference & Presentations Library CD Winter 93 - Partner Edition.7z / Image.iso / Applications / Technical Publishing / Aldus PageMaker 4.2 / Aldus / APDs / HP LaserJet IIID.apd < prev    next >
Text File  |  1991-04-11  |  12KB  |  290 lines

  1. @Comment: HP PostScript Cartridge for Hewlett-Packard LaserJet family of printers.
  2. @Comment: Aldus Printer Description (APD) file 
  3. @Comment:     $Revision:   1.2  $
  4. @Comment:     $Date:   4 April 1990 12:03:58  $
  5. @Comment: This APD produced for use with Aldus PageMaker 2.0, 2.0a, 3.0, and 4.0
  6. @Comment: Keyword values are currently limited to 255 characters in length.
  7.  
  8. @FormatVersion: "1.0"
  9. @Product: "(HP LaserJet IIID)"
  10. @PSVersion: "(52.2)"
  11. @PSRevision: "0"
  12.  
  13. @Resolution: "300 300"
  14.  
  15. @AllowComments: "true"
  16. @AllowVMQuery: "true"
  17.  
  18. @Comment:  "FreeVM" value is equivalent to vmstatus "maximum" minus "used" values
  19. @Comment: Limit VM when printing to file,to not exceed save-level limit for downloaded fonts:
  20. @FreeVM: "988930"
  21. @WorkingMem: "25000"
  22. @AldusHeaderMem: "34000"
  23. @Comment: Example of declaration of a downloadable font's memory requirement:
  24. @Comment: @FontMem "Benjo-Light": "82600"
  25.  
  26. @Comment: PatchFile is sent right after %%EndComments, AldusPatchFile right before %%EndSetup.
  27. @PatchFile: "userdict /AldusDict known {(A previous version PageMaker header is loaded.) = flush} if"
  28. @AldusPatchFile: ""
  29. @ExitServer: "serverdict begin exitserver "
  30. @Password: "0"
  31.  
  32. @DefaultScreenFreq: "60"
  33. @DefaultScreenAngle: "45"
  34. @DefaultScreenProc: "{dup mul exch dup mul add sqrt 1 exch sub}"
  35.  
  36. @ScreenFreq: ""
  37. @ScreenAngle: ""
  38. @ScreenProc: ""
  39.  
  40. @InvertScreenProc: "{dup mul exch dup mul add 1 sub}"
  41. @Transfer: ""
  42. @InvertTransfer: "{1 exch sub}"
  43.  
  44. @NormalizedTransfer: "{
  45. mark
  46. 1.0 1.0 .98 .86 .76 .64 .54 .45 .36 .24 .11 .0
  47. counttomark dup 3 add -1 roll exch
  48. 2 sub mul dup floor cvi
  49. dup 3 1 roll sub
  50. exch dup 
  51. 3 add index exch 2 add index dup
  52. 4 1 roll
  53. sub mul add
  54. counttomark 1 add 1 roll 
  55. cleartomark
  56. } bind"
  57. @End
  58.  
  59. @InvertNormalizedTransfer: "{
  60. mark
  61. .0 .0 .11 .24 .36 .45 .54 .64 .76 .86 .98 1.0
  62. counttomark dup 3 add -1 roll exch
  63. 2 sub mul dup floor cvi
  64. dup 3 1 roll sub
  65. exch dup 
  66. 3 add index exch 2 add index dup
  67. 4 1 roll
  68. sub mul add
  69. counttomark 1 add 1 roll 
  70. cleartomark
  71. } bind"
  72. @End
  73.  
  74. @?FontList: "save FontDirectory { pop = flush } forall (*) = flush restore"
  75. @?FontQuery: "FontDirectory exch known {1}{0} ifelse = flush"
  76. @Comment: If 11 or more saves, VM query makes memory look full, PM will flush fonts.
  77. @?VMStatus: "vmstatus 3 -1 roll dup 10 gt
  78. {3 1 roll exch pop dup} {3 1 roll} ifelse == == == flush"
  79. @End
  80. @?OutputOrder: "pagestackorder {(facedown)}{(faceup)} ifelse = flush"
  81. @Comment: Paper tray query retrieves the current paper number
  82. @Comment:    and converts it to the equivalent string.
  83. @?PaperTray: "save mark (C5Env) (DLEnv) (MonarchEnv) (Com10Env)
  84.     () () () (B5) (A4) (Executive) (Legal) (Letter)
  85.     12 statusdict /papertype get exec roll
  86.     = flush cleartomark restore"
  87. @End
  88.  
  89. @Comment: PageSize options appear in the "Paper" list box in the Printer-specific dialog.
  90. @DefaultPageSize:        "Letter"
  91. @PageSize Letter:        "letter"
  92. @PageSize Legal:        "legal"
  93. @PageSize Executive:     "executivepage"
  94. @PageSize A4:            "a4"
  95. @PageSize B5:            "b5"
  96. @PageSize Com10Env:        "com10envelope"
  97. @PageSize MonarchEnv:    "monarcenvelope"
  98. @PageSize C5Env:        "c5envelope"
  99. @PageSize DLEnv:        "dlenvelope"
  100.  
  101. @Comment: There is no B5 tray, so PageMaker will ask for it by size
  102. @PaperTray Letter:         "statusdict begin lettertray end"
  103. @PaperTray Legal:        "statusdict begin legaltray end"
  104. @PaperTray Executive:     "statusdict begin executivetray end"
  105. @PaperTray A4:            "statusdict begin a4tray end"
  106. @PaperTray Com10Env:    "statusdict begin com10envelopetray end"
  107. @PaperTray MonarchEnv:    "statusdict begin monarcenvelopetray end"
  108. @PaperTray C5Env:        "statusdict begin c5envelopetray end"
  109. @PaperTray DLEnv:        "statusdict begin dlenvelopetray end"
  110.  
  111. @Comment: PageRegion gives the printable area of each paper option.
  112. @PageRegion Letter:         "18 18 594 774"
  113. @PageRegion Legal:         "18 18 594 990"
  114. @PageRegion Executive:    "19.08 18 502.92 738"
  115. @PageRegion A4:         "17.29 17.72 577.98 824.17"
  116. @PageRegion B5:            "17.28 2.88 481.68 705.5"
  117. @PageRegion Com10Env:    "17.82 18 279.18 666"
  118. @PageRegion MonarchEnv:    "18.54 18 260.46 522"
  119. @PageRegion C5Env:        "18.36 18 441 630.72"
  120. @PageRegion DLEnv:        "17.66 18 294.15 605.62"
  121.  
  122. @Comment: PaperDimension gives the total paper size of each option.
  123. @PaperDimension Letter:     "612 792"
  124. @PaperDimension Legal:         "612 1008"
  125. @PaperDimension Executive:    "522 756"
  126. @PaperDimension A4:         "595.28 841.89"
  127. @PaperDimension B5:            "498.96 708.38"
  128. @PaperDimension Com10Env:    "297 684"
  129. @PaperDimension MonarchEnv:    "279 540"
  130. @PaperDimension C5Env:         "459 648.72"
  131. @PaperDimension DLEnv:        "311.81 623.62"
  132.  
  133. @Comment: Setting the “papertray” value directly selects an input slot
  134. @Comment:    without resetting the image area;
  135. @Comment:    Using the “setpapertray” operator resets the image area to
  136. @Comment:    correspond to whatever tray is in the input slot selected.
  137. @DefaultInputSlot:    "Upper"
  138. @InputSlot Upper:    "statusdict begin 0 setpapertray end"
  139. @InputSlot Lower:    "statusdict begin 1 setpapertray end"
  140.  
  141. @DefaultOutputOrder: "facedown"
  142.  
  143. @ManualFeed true:    "statusdict begin /manualfeed true def end"
  144. @ManualFeed false:    "statusdict begin /manualfeed false def end"
  145.  
  146. @DefaultFont: "Courier"
  147. @Font "Times-Roman": "Standard" "(001.002)"
  148. @Font "Times-Bold": "Standard" "(001.002)"
  149. @Font "Times-Italic": "Standard" "(001.002)"
  150. @Font "Times-BoldItalic": "Standard" "(001.004)"
  151. @Font "Helvetica": "Standard" "(001.002)"
  152. @Font "Helvetica-Bold": "Standard" "(001.002)"
  153. @Font "Helvetica-Oblique": "Standard" "(001.002)"
  154. @Font "Helvetica-BoldOblique": "Standard" "(001.002)"
  155. @Font "Courier": "Standard" "(002.002)"
  156. @Font "Courier-Bold": "Standard" "(002.002)"
  157. @Font "Courier-Oblique": "Standard" "(002.002)"
  158. @Font "Courier-BoldOblique": "Standard" "(002.002)"
  159. @Font "Symbol": "Special" "(001.003)"
  160. @Font "Palatino-Roman": "Standard" "(001.001)"
  161. @Font "Palatino-Italic": "Standard" "(001.002)"
  162. @Font "Palatino-Bold": "Standard" "(001.002)"
  163. @Font "Palatino-BoldItalic": "Standard" "(001.002)"
  164. @Font "AvantGarde-Book": "Standard" "(001.002)"
  165. @Font "AvantGarde-BookOblique": "Standard" "(001.002)"
  166. @Font "AvantGarde-Demi": "Standard" "(001.003)"
  167. @Font "AvantGarde-DemiOblique": "Standard" "(001.003)"
  168. @Font "Bookman-Light": "Standard" "(001.001)"
  169. @Font "Bookman-LightItalic": "Standard" "(001.001)"
  170. @Font "Bookman-Demi": "Standard" "(001.001)"
  171. @Font "Bookman-DemiItalic": "Standard" "(001.001)"
  172. @Font "Helvetica-Narrow": "Standard" "(001.002)"
  173. @Font "Helvetica-Narrow-Oblique": "Standard" "(001.002)"
  174. @Font "Helvetica-Narrow-Bold": "Standard" "(001.002)"
  175. @Font "Helvetica-Narrow-BoldOblique": "Standard" "(001.002)"
  176. @Font "NewCenturySchlbk-Roman": "Standard" "(001.004)"
  177. @Font "NewCenturySchlbk-Italic": "Standard" "(001.003)"
  178. @Font "NewCenturySchlbk-Bold": "Standard" "(001.006)"
  179. @Font "NewCenturySchlbk-BoldItalic": "Standard" "(001.004)"
  180. @Font "ZapfChancery-MediumItalic": "Standard" "(001.003)"
  181. @Font "ZapfDingbats": "Special" "(001.002)"
  182.  
  183.  
  184. @Comment: The order of occurrence determines the order of parsing; put general messages last.
  185. @Comment: PrinterWarning beeps and displays the translation string in the status line.
  186.  
  187. @PrinterWarning    "%%[ PrinterError: paper \where\ misfeed\lost\ ]%%"
  188.                 : "Printer “^2” needs attention: paper jam."
  189. @PrinterWarning    "%%[ PrinterError: \Reason\ ]%%"
  190.                 : "Printer “^2” needs attention: \Reason\."
  191.  
  192. @PrinterWarning    "\s\status: PrinterError: paper \where\ misfeed\lost\"
  193.                 : "Printer “^2” needs attention: paper jam."
  194. @PrinterWarning    "\s\status: PrinterError: \Reason\; source: \source\"
  195.                 : "Printer “^2” needs attention: \Reason\."
  196.  
  197. @ParameterReason    "no paper tray" :         "no paper tray"
  198. @ParameterReason    "out of paper" :         "out of paper"
  199. @ParameterReason    "cover open" :             "cover open"
  200. @ParameterReason    "warming up" :             "warming up"
  201. @ParameterReason    "service call" :         "service call"
  202. @ParameterReason    "resetting printer" :     "resetting printer"
  203. @ParameterReason    "cover open" :             "cover open"
  204. @ParameterReason    "timeout, clearing printer" : "timeout"
  205. @ParameterReason    "timeout" :             "timeout"
  206. @ParameterReason    "manual feed timeout" :    "manual feed timeout"
  207. @ParameterReason    "no toner cartridge" :     "no toner cartridge"
  208.  
  209.  
  210. @Comment: PrinterMessage displays the translation string in the status line.
  211. @PrinterMessage     "job: \username\; document: \jobname\; status: \Status\; source: 
  212. \source\"
  213.                 : "User: \username\;  document: \jobname\;  status: \Status\."
  214. @PrinterMessage     "job: \jobname\; status: \Status\; source: \source\"
  215.                 : "Document: \jobname\;  status: \Status\."
  216. @PrinterMessage     "status: \Status\; source: \source\"
  217.                 : "Status: \Status\."
  218. @PrinterMessage     "\Font1\ not found, using \Font2\"
  219.                 : "Font \Font1\ is not found on ^2, substituting \Font2\"
  220.  
  221. @ParameterStatus     "idle"    : "idle"
  222. @ParameterStatus     "busy"    : "processing job"
  223. @ParameterStatus     "waiting"    : "preparing data"
  224. @ParameterStatus    "printing"    : "printing"
  225.  
  226. @Comment: a null translation string causes no message to display.
  227. @PrinterMessage    "%%[ exitserver: permanent state may be changed ]%%"
  228.                 : ""
  229. @PrinterMessage    "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  230.                 : ""
  231.  
  232. @Comment: Parameter substitution of printer name for "^2" is not allowed in "...Alert" messages!
  233. @Comment: PrinterWarningAlert displays translation string in a warning-alert box and continues.
  234. @PrinterWarningAlert "A previous version PageMaker header is loaded."
  235.     : "Printer performance may improve if you do not print with previous PageMaker versions on this network."
  236.  
  237. @ParameterPapertray    "letter":    "Letter"
  238. @ParameterPapertray    "legal":    "Legal"
  239. @ParameterPapertray    "executive":    "Executive"
  240. @ParameterPapertray    "a4":         "A4"
  241. @ParameterPapertray    "b5":        "B5"
  242.  
  243. @ParameterEnvtray    "com10":    "Com-10"
  244. @ParameterEnvtray    "monarc":    "Monarch"
  245. @ParameterEnvtray    "c5":        "C5"
  246. @ParameterEnvtray    "dl":        "DL"
  247.  
  248. @ParameterUndeftray    "letter":    "Letter paper"
  249. @ParameterUndeftray    "legal":    "Legal paper"
  250. @ParameterUndeftray    "executive":    "Executive paper"
  251. @ParameterUndeftray    "a4":         "A4 paper"
  252. @ParameterUndeftray    "b5":        "B5 paper"
  253. @ParameterUndeftray    "com10envelope":    "Com-10 envelopes"
  254. @ParameterUndeftray    "monarcenvelope":    "Monarch envelopes"
  255. @ParameterUndeftray    "c5envelope":    "C5 envelopes"
  256. @ParameterUndeftray    "dlenvelope":    "DL envelopes"
  257.  
  258. @Comment: PrinterErrorAlert displays translation string in a stop-alert box and aborts printing.
  259.  
  260. @PrinterErrorAlert    "%%[ Error: rangecheck; OffendingCommand: setpapertray ]%%"
  261.                 : "The Lower paper tray is not available on this printer, please print again and select a different printer or paper size from the print dialog."
  262.  
  263. @PrinterErrorAlert    "%%[ Error: rangecheck; OffendingCommand: \Envtray\envelopetray ]%%"
  264.                 : "Please make sure the envelope feeder is properly attached to the printer, and print again."
  265.  
  266. @PrinterErrorAlert    "%%[ Error: rangecheck; OffendingCommand: \Papertray\tray ]%%"
  267.                 : "Please place the \Papertray\ paper tray in your printer, and print again."
  268.  
  269. @PrinterErrorAlert    "%%[ Error: undefined; OffendingCommand: \Undeftray\tray ]%%"
  270.                 : "This printer does not support \Undeftray\, please print again and select a different printer or paper size from the print dialog."
  271.  
  272. @PrinterErrorAlert    "%%[ Error: rangecheck; OffendingCommand: setduplexmode ]%%"
  273.                 : "Please make sure duplex mode is 'OFF' from the printer's control panel."
  274.  
  275. @PrinterErrorAlert    "%%[ Error: \fonterror\; OffendingCommand: fontdownload ]%%"
  276.                 : "The font being downloaded has not been initialized for this printer."
  277.  
  278. @PrinterErrorAlert    "%%[ Error: VMerror; OffendingCommand: \operator\ ]%%"
  279.                 : "Printer memory exceeded; turn printer off and on, or print smaller sections of the document."
  280.  
  281. @PrinterErrorAlert    "%%[ Error: timeout; OffendingCommand: \operator\ ]%%"
  282.                 : "The printer had to wait too long, and went on to the next job; try again."
  283.  
  284. @PrinterErrorAlert    "%%[ Error: \error\; OffendingCommand: \operator\ ]%%"
  285.                 : "Cannot print due to PostScript error: “\error\,” in command: “\operator\.”"
  286.  
  287. @PrinterErrorAlert    "Fatal system error \error\"
  288.                 : "The printer has encountered an error. Simplify your document or try again."
  289.  
  290.